package com.diandi.signature.manager.impl.runbatch;

import com.diandi.signature.bean.runbatch.SignatureBatchRunInfo;
import com.diandi.signature.manager.runbatch.BatchRunDataManager;
import com.diandi.signature.mapper.SignatureBatchRunInfoMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by mxp on 2017/12/15.
 */
@Component
public class BatchRunDataManagerImpl implements BatchRunDataManager {
    private Logger logger = LoggerFactory.getLogger(BatchRunDataManagerImpl.class);

    @Autowired
    private SignatureBatchRunInfoMapper batchRunInfoMapper;

    @Override
    public List<SignatureBatchRunInfo> queryList(Map<String, Object> paramMap) {
        return batchRunInfoMapper.queryList(paramMap);
    }

    @Override
    public Integer queryCount(Map<String, Object> paramMap) {
        return batchRunInfoMapper.queryCount(paramMap);
    }
}
